@function r($px) {
    @return $px/40*1rem;
}

@mixin imgs {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

@mixin duoh {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@mixin wuh {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

@mixin dongh {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

@mixin danh {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 1200px) {
    .container {
        width: 940px;
    }
}
.games {
    width: 100%;
    .container-fluid {
        .logos {
            padding-top: r(7);
            margin-right: r(20);
            height: 100%;
        }
    }
    .header_img {
        width: 100%;
        background: #bcb449;
        .header_img_box {
            width: 100%;
            padding-top: 25.69444444444444%;
            position: relative;
            margin-top: 46px;
            overflow: hidden;
            img {
                @include imgs;
            }
        }
    }
    .content {
        width: r(900);
        margin: 0 auto;
        .HuntingBlade {
            margin-bottom: r(34);
            .HuntingBlade_box {
                display: flex;
                margin-top: r(41);
                .HuntingBlade_box_left {
                    margin: 0 auto;
                    position: relative;
                    .HuntingBlade_box_left_img {
                        width: r(300);
                        padding-top: 122.4576271186441%;
                        position: relative;
                        overflow: hidden;
                        img {
                            @include imgs;
                        }
                    }
                    >span {
                        background: red;
                        height: r(90);
                        width: r(28);
                        z-index: 10;
                        top: r(-41);
                        left: 0;
                        position: absolute;
                        color: #fff;
                        font-size: r(14);
                        writing-mode: tb-rl;
                        background: #e14738;
                        line-height: r(30);
                        padding-top: r(10);
                        letter-spacing: r(10);
                    }
                    >span::after {
                        content: "";
                        width: r(28);
                        height: r(28);
                        background: #FFF;
                        display: block;
                        position: absolute;
                        left: 0;
                        bottom: r(-12);
                        z-index: 10;
                        transform: rotateZ(45deg);
                    }
                }
                .HuntingBlade_box_right_box {
                    width: r(500);
                    margin: 0 auto;
                    .HuntingBlade_box_right {
                        width: r(500);
                        .HuntingBlade_box_right_title {
                            font-size: r(30);
                            color: #2a2a2a;
                            text-align: right;
                            position: relative;
                            top: r(-12);
                        }
                        .HuntingBlade_box_right_content {
                            font-size: r(12);
                            color: #898989;
                            line-height: 30px;
                            text-align: right;
                            @include duoh;
                        }
                        .HuntingBlade_box_right_bottom {
                            margin-top: r(23);
                            ul {
                                display: flex;
                                flex-wrap: wrap;
                                justify-content: space-between;
                                li {
                                    margin-bottom: r(30);
                                    .HuntingBlade_box_right_bottom_img {
                                        width: r(236);
                                        padding-top: 43.32247557003257%;
                                        overflow: hidden;
                                        position: relative;
                                        cursor: pointer;
                                        img {
                                            @include dongh;
                                            border-radius: 6px;
                                            @include imgs;
                                        }
                                        &:hover img {
                                            opacity: .8;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .OnMaster {
            .OnMaster_box {
                display: flex;
                .OnMaster_box_left {
                    width: r(520);
                    .OnMaster_box_left_box {
                        width: r(520);
                        margin-left: r(12);
                        .OnMaster_box_left_box_title {
                            font-size: r(30);
                            color: #2a2a2a;
                            text-align: left;
                        }
                        .OnMaster_box_left_box_content {
                            font-size: r(12);
                            color: #898989;
                            line-height: 30px;
                            text-align: left;
                            margin-top: r(6);
                            @include duoh;
                        }
                        .OnMaster_box_left_box_img {
                            margin-top: r(23);
                            ul {
                                display: flex;
                                flex-wrap: wrap;
                                justify-content: space-between;
                                li {
                                    margin-bottom: r(30);
                                    .OnMaster_box_left_box_imgs {
                                        width: r(245);
                                        padding-top: 43.32247557003257%;
                                        overflow: hidden;
                                        position: relative;
                                        cursor: pointer;
                                        img {
                                            @include dongh;
                                            border-radius: 6px;
                                            @include imgs;
                                        }
                                        &:hover img {
                                            opacity: .8;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                .OnMaster_box_right {
                    margin-left: r(14);
                    margin: 0 auto;
                    .OnMaster_box_right_img {
                        width: r(290);
                        padding-top: 145.258358662614%;
                        position: relative;
                        img {
                            @include imgs;
                        }
                    }
                }
            }
        }
        .MoreCase {
            margin-top: r(50);
            .MoreCase_box {
                .MoreCase_box_top {
                    font-size: r(36);
                    color: #010101;
                    margin-bottom: r(22);
                }
                .MoreCase_box_bottom {
                    padding-bottom: r(49);
                    ul {
                        width: r(900);
                        li {
                            float: left;
                            width: r(255);
                            margin-bottom: r(2);
                            margin-right: r(30);
                            .MoreCase_box_bottom_content {
                                padding-top: 54.40789473684211%;
                                width: r(255);
                                overflow: hidden;
                                border-radius: r(6);
                                margin-top: r(12);
                                position: relative;
                                cursor: pointer;
                                img {
                                    @include dongh;
                                    @include imgs;
                                }
                                span {
                                    border-radius: r(6);
                                    display: block;
                                    top: r(0);
                                    width: r(255);
                                    height: r(122);
                                    background: rgba(0, 0, 0, .5);
                                    position: absolute;
                                    color: #fff;
                                    padding: r(10);
                                    font-size: r(12);
                                    padding-top: r(7);
                                    line-height: r(20);
                                    transform: translateY(-200px);
                                    text-align: justify;
                                    @include wuh;
                                    @include dongh;
                                }
                                &:hover span {  
                                    transform: translateY(0);
                                }
                            }
                            p {
                                text-align: center;
                                font-size: 14px;
                                color: #2a2a2a;
                                line-height: r(52);
                            }
                        }
                        li:nth-child(3n) {
                            margin-right: 0;
                        }
                    }
                }
            }
        }
    }
    .footer_box {
        height: r(113);
        background: #3b3b3b;
        .footer_content {
            width: r(860);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            .footer_content_left {
                width: r(350);
                margin-top: r(34);
                .footer_content_left_top {
                    a {
                        color: #a1a3ab;
                        font-size: r(14);
                    }
                }
                .footer_content_left_bottom {
                    margin-top: r(10);
                    color: #a1a3ab;
                    font-size: r(12);
                    p {
                        @include danh;
                    }
                }
            }
            .footer_content_right {
                width: r(155);
                margin-top: r(38);
                margin-right: r(15);
                ul {
                    display: flex;
                    justify-content: space-between;
                }
            }
        }
    }
    //  display:none;
}
@media only screen and (max-width:768px) {
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_title {
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 6px;
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_content {
        text-align: justify;
        letter-spacing: 2px;
        line-height: r(60);
        font-size: r(40);
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box {
        width: 100%;
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_content {
        width: 100%;
        -webkit-line-clamp: initial;
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right {
        width: 100%;
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_bottom ul {
        display: block;
        width: 100%;
        margin-top: 16px;
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_bottom ul li {
        margin: 0;
        padding: 0;
        margin-bottom: r(60);
    }
    .games .content .HuntingBlade .HuntingBlade_box .HuntingBlade_box_right_box .HuntingBlade_box_right .HuntingBlade_box_right_bottom ul li .HuntingBlade_box_right_bottom_img {
        width: 100%;
        padding-top: 40%;
    }
    .games .content .HuntingBlade .HuntingBlade_box {
        width: 100%;
    }
    .games .content {
        width: 100%;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box .OnMaster_box_left_box_title {
        font-size: 22px;
        margin: 0px 0 10px 0;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box .OnMaster_box_left_box_content {
        width: 98%;
        -webkit-line-clamp: initial;
        text-align: justify;
        letter-spacing: 2px;
        line-height: r(60);
        font-size: r(40);
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul {
        width: 100%;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left {
        width: 100%;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box {
        width: 100%;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box .OnMaster_box_left_box_img ul {
        display: block;
        width: 100%;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box .OnMaster_box_left_box_img ul li {
        margin: 0;
        padding: 0;
        margin-bottom: r(22);
        margin-top: 10px;
    }
    .games .content .OnMaster .OnMaster_box .OnMaster_box_left .OnMaster_box_left_box .OnMaster_box_left_box_img ul li .OnMaster_box_left_box_imgs {
        width: 100%;
        padding-top: 40%;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_top {
        font-size: 26px;
        margin: 20px 0 10px 0;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li .MoreCase_box_bottom_content img {
        height: auto;
        width: 100%;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li {
        width: 50%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 12px;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li .MoreCase_box_bottom_content {
        width: 100%;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li p {
        font-size: r(40);
        line-height: r(30);
    }
    .games .footer_box .footer_content {
        width: 80%;
        padding-top: r(60);
    }
    .games .footer_box .footer_content .footer_content_left {
        width: 80%;
        transform: scale(.8);
        margin-top: 14px;
    }
    .games .footer_box {
        height: auto;
    }
    .games .footer_box .footer_content .footer_content_right {
        width: 20%;
        margin-top: 0;
    }
    .games .footer_box .footer_content .footer_content_right ul li {
        width: r(80);
        height: r(80);
        padding-top: r(108);
        img {
            width: 100%;
        }
    }
    .logos {
        margin-top: r(20);
        margin-left: r(60);
    }
    .games .footer_box .footer_content {
        height: 100px;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li .MoreCase_box_bottom_content span {
        display: none;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li .MoreCase_box_bottom_content {
        @include dongh;
    }
    .games .content .MoreCase .MoreCase_box .MoreCase_box_bottom ul li .MoreCase_box_bottom_content:hover {
        opacity: .5;
    }
    .games .footer_box .footer_content .footer_content_left .footer_content_left_bottom p{
        font-size: r(30);
    }
    .games .footer_box .footer_content .footer_content_left .footer_content_left_top a {
        font-size: r(40);
        line-height: r(40);
    }
    .games .footer_box .footer_content {
        margin: 1px;
        width: 92%;
    }
}